package com.gugee.common.web.system.user.model;

import com.xiguaji.boot.data.rdb.aggregate.Aggregate;
import lombok.Data;
import org.springframework.data.relational.core.mapping.Table;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Table("user_role")
public class UserRole extends Aggregate {
    private long userId;
    private long roleId;
    private BigDecimal totalAmount = new BigDecimal(0);
    private Date effectTime;
    private Date expireTime;
}
